package cc.autoapi.pucong.auto.flow.provider.properties.entity.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author pucong
 * @description 全局参数信息 addDto
 * @create 2024-10-06
 */
@Data
public class PropertiesInfoAddDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank
    private String groupId;

    @NotBlank
    private String propertiesCode;

    /**
     * 属性类型 0数字 1字符串 2布尔 3时间
     */
    @NotNull
    private Integer propertiesType;

    // 是否需要加密存储
    @NotNull
    private Integer needEncryption;

    @NotBlank
    private String propertiesValue;

    private String propertiesDesc;

}
